package com.violet.detective.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Blob;
import java.sql.Timestamp;

/**
 *
 * @TableName files
 */
@TableName(value ="files")
@Data
public class FileModel {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String extension;
    private Blob data;
    private Long size;
    private String comp;
    private Integer compId;
    private Timestamp time;
}
